import request from '@/utils/request'

// 查询多水厂生产报列表
export function listDispatchMultiPlantProductionReports(query) {
  return request({
    url: '/system/dispatchMultiPlantProductionReports/list',
    method: 'get',
    params: query
  })
}

// 查询多水厂生产报详细
export function getDispatchMultiPlantProductionReports(multiPlantProductionReportsId) {
  return request({
    url: '/system/dispatchMultiPlantProductionReports/' + multiPlantProductionReportsId,
    method: 'get'
  })
}

// 新增多水厂生产报
export function addDispatchMultiPlantProductionReports(data) {
  return request({
    url: '/system/dispatchMultiPlantProductionReports',
    method: 'post',
    data: data
  })
}

// 修改多水厂生产报
export function updateDispatchMultiPlantProductionReports(data) {
  return request({
    url: '/system/dispatchMultiPlantProductionReports',
    method: 'put',
    data: data
  })
}

// 删除多水厂生产报
export function delDispatchMultiPlantProductionReports(multiPlantProductionReportsId) {
  return request({
    url: '/system/dispatchMultiPlantProductionReports/' + multiPlantProductionReportsId,
    method: 'delete'
  })
}
